package com.ruoyi.buy.mapper.PO;

import com.ruoyi.buy.domain.entity.PO.BuyRequestbuyBill;

import java.util.List;

/**
 * 请购单Mapper接口
 * 
 * @author ruoyi
 * @date 2024-06-13
 */
public interface BuyRequestbuyBillMapper 
{
    /**
     * 查询请购单
     * 
     * @param id 请购单主键
     * @return 请购单
     */
    public BuyRequestbuyBill selectBuyRequestbuyBillById(Long id);

    /**
     * 查询请购单列表
     * 
     * @param buyRequestbuyBill 请购单
     * @return 请购单集合
     */
    public List<BuyRequestbuyBill> selectBuyRequestbuyBillList(BuyRequestbuyBill buyRequestbuyBill);

    /**
     * 新增请购单
     * 
     * @param buyRequestbuyBill 请购单
     * @return 结果
     */
    public int insertBuyRequestbuyBill(BuyRequestbuyBill buyRequestbuyBill);

    /**
     * 修改请购单
     * 
     * @param buyRequestbuyBill 请购单
     * @return 结果
     */
    public int updateBuyRequestbuyBill(BuyRequestbuyBill buyRequestbuyBill);

    /**
     * 删除请购单
     * 
     * @param id 请购单主键
     * @return 结果
     */
    public int deleteBuyRequestbuyBillById(Long id);

    /**
     * 批量删除请购单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBuyRequestbuyBillByIds(Long[] ids);
}
